Update tests to be tolerant of new error code [E0463]
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Sun, 20 Sep 2015 18:25:53 +0000 (14:25 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Tue, 22 Sep 2015 00:54:31 +0000 (20:54 -0400)
Added in
https://github.com/rust-lang/rust/commit/7358a5e8ea7c2ab0aaa76b503ef68161e44681a0

tests/test_cargo_compile.rs
tests/test_cargo_compile_custom_build.rs

index e16456977f9064c918f0492708e393dd9af9551e..b8930f2b87261db4aad060e218d28fb4c9fe91cb 100644 (file)
@@ -1686,7 +1686,7 @@ test!(transitive_dependencies_not_available {
     assert_that(p.cargo_process("build").arg("-v"),
                 execs().with_status(101)
                        .with_stderr("\
-[..] can't find crate for `bbbbb`
+[..] can't find crate for `bbbbb`[..]
 [..] extern crate bbbbb; [..]
 [..]
 error: aborting due to previous error
index f172e34be496f4122902a4af5961dc53a3d39b33..cb352e16b88035de4f87141c353155b92c11c1a5 100644 (file)
@@ -699,7 +699,7 @@ test!(build_deps_not_for_normal {
     assert_that(p.cargo_process("build").arg("-v").arg("--target").arg(&target),
                 execs().with_status(101)
                        .with_stderr("\
-[..]lib.rs[..] error: can't find crate for `aaaaa`
+[..]lib.rs[..] error: can't find crate for `aaaaa`[..]
 [..]lib.rs[..] extern crate aaaaa;
 [..]           ^~~~~~~~~~~~~~~~~~~
 error: aborting due to previous error